package com.soft.line.service;

import com.github.pagehelper.PageInfo;
import com.soft.line.entity.UserInfo;

import java.util.List;
import java.util.Map;

/**
 * @author wu.xueqiao on 2020/5/12.
 * @version 0.1
 */
public interface UserInfoService {

     UserInfo getUserInfo(int userId);

     PageInfo<UserInfo> getAllUsers(Map<String,Object> map);

     int delUser(int id);

     int addUser(UserInfo userInfo);

     Boolean changePassword(Map<String,Object> map);

     int countByRoleId(Integer roleId);

}
